package com.yangjun.po.report;

import com.yangjun.common.enums.report.OutstockTypeEnum;

import lombok.Data;
import lombok.ToString;
@Data
@ToString
public class OrderTransactionReportExportPO {
	private String userid;//用户ID
	private String username;
	private String userrealname;//用户真实姓名
	
	private String analysisType;//报表类型
	private String caliberType;//口径
	private String[] outstockType;//出库类型
	private String[] orderstatus;//订单状态
	private String[] payType;//支付方式
	private String[] ordersource;//平台
	private String beginDate;//下单开始时间
	private String endDate;//下单结束时间
	
	private String searchName;//搜索方式
	private String[] searchValue;//搜素内容
	//指标
	private String[] target;
	
	private Boolean createdateSql;
	private Boolean dataDateSql;
	private Boolean orgnameSql;
	private Boolean consigncodeSql;
	private Boolean consignweightSql;
	private Boolean deliverynumberSql;
	private Boolean deliverycompanySql;
	private Boolean provinceSql;
	private Boolean citySql;
	private Boolean districtSql;
	private Boolean warecodeSql;
	private Boolean warenameSql;
	private Boolean modelSql;
	private Boolean manufacturernameSql;
	private Boolean facategorySql;
	private Boolean departmentSql;
	private Boolean isrxSql;
	private Boolean isthirdgoodsSql;
	private Boolean waremanagerpcSql;
	private Boolean outqtySql;
	private Boolean priceSql;
	private Boolean dispriceSql;
	private Boolean alldispriceSql;
	private Boolean netpriceSql;
	private Boolean netamountSql;
	private Boolean concessionSql;
	private Boolean pointsamtSql;
	private Boolean outamountSql;
	private Boolean fadispriceSql;
	private Boolean faalldispriceSql;
	private Boolean fapriceSql;
	private Boolean faamountSql;
	private Boolean faconcessionSql;
	private Boolean fapointsamtSql;
	private Boolean faoutamountSql;
	private Boolean inpriceSql;
	private Boolean purchasecostSql;
	private Boolean marketingcostSql;
	private Boolean grossprofitSql;
	private Boolean freightcostSql;
	private Boolean fagrossprofitSql;
	private Boolean fafreightcostSql;
	private Boolean sourcenameSql;
	private Boolean shopnameSql;
	private Boolean channelnameSql;
	private Boolean ordercodeSql;
	private Boolean originorderidSql;
	private Boolean changetypeSql;
	private Boolean orderstatusSql;
	private Boolean stockstatusSql;
	private Boolean sumamtSql;
	private Boolean orderfreightcostSql;
	private Boolean appendfreightcostSql;
	private Boolean prmcodeSql;
	private Boolean prmnameSql;
	private Boolean disamtSql;
	private Boolean orderpointsamtSql;
	private Boolean netamtSql;
	private Boolean unpaidamtSql;
	private Boolean payconcodeSql;
	private Boolean paystatusSql;
	private Boolean cuscodeSql;
	private Boolean cusnameSql;
	private Boolean ordernumberSql;
	private Boolean isNewMemberSql;
	private Boolean creatorcodeSql;
	private Boolean creatorSql;
	private Boolean returnidSql;
	private Boolean orderReturnamountSql;
	private Boolean orderFareturnamountSql;
	private Boolean refunddetailcauseSql;
	private Boolean remarkSql;
	private Boolean returntypeSql;
	private Boolean stocktimeSql;
	private Boolean stockcountSql;
	private Boolean returnpriceSql;
	private Boolean returnamountSql;
	private Boolean fareturnpriceSql;
	private Boolean fareturnamountSql;
	private Boolean tmstaffSql;
	private Boolean drpordercodeSql;
	private Boolean consignstatusSql;
	private Boolean invoicetypeSql;
	private Boolean cps_utm_mediumSql;
	private Boolean cps_utm_sourceSql;
	private Boolean taxrateSql;
	private Boolean invoicecontentcode2Sql;
	private Boolean paytypenameSql;
	private Boolean salesSql;
	
	//20190426更新
	private Boolean notaxfareturnamountSql;//不含税退货金额（财务）
	private Boolean notaxfagrossprofitSql;//不含税毛利额（财务）
	private Boolean notaxfaoutamountSql;//不含税销售额（财务）
	
	public void changeOutsockType(){
		if(this.outstockType.length>0){
			for(int i=0,len=this.outstockType.length;i<len;i++){
				this.outstockType[i] = OutstockTypeEnum.getOutstockTypeId(this.outstockType[i]);
			}
		}
		
	}
}
